<?php
/**
 * author: ajiader
 * createtime: 2016/5/15 11:36
 * description:自定义函数库
 */

// 示例函数
function foo() {
    return "foo";
}

function lastSql(){

    $sql = DB::getQueryLog();

    $query = end($sql);

    return $query;

}